package com.bf.electroplating.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 废气处理设施监控预警设置表
 * </p>
 *
 * @author gzd
 * @since 2025-09-28
 */
@Getter
@Setter
@TableName("exhaust_gas_warning_config")
@Schema(description = "废气处理设施监控预警设置表")
public class ExhaustGasWarningConfig implements Serializable {

    private static final long serialVersionUID = 1L;

   @Schema( description ="ID")
    @TableId("ID")
    private String id;

   @Schema( description ="企业ID")
    @TableField("COMPANY_ID")
    private String companyId;

   @Schema( description ="企业名称")
    @TableField("COMPANY_NAME")
    private String companyName;

   @Schema( description ="园区ID")
    @TableField("PARK_ID")
    private String parkId;

   @Schema( description ="园区名称")
    @TableField("PARK_NAME")
    private String parkName;

   @Schema( description ="设备ID")
    @TableField("DEVICE_ID")
    private String deviceId;

   @Schema( description ="设备名称")
    @TableField("DEVICE_NAME")
    private String deviceName;

   @Schema( description ="设备编号")
    @TableField("DEVICE_CODE")
    private String deviceCode;

   @Schema( description ="检测因子")
    @TableField("MONITORING_FACTOR")
    private String monitoringFactor;

    @Schema( description ="检测因子编码")
    @TableField("MONITORING_FACTOR_CODE")
    private String monitoringFactorCode;

   @Schema( description ="因子单位")
    @TableField("FACTOR_UNIT")
    private String factorUnit;

   @Schema( description ="上限阈值")
    @TableField("UPPER_THRESHOLD")
    private BigDecimal upperThreshold;

   @Schema( description ="下限阈值")
    @TableField("LOWER_THRESHOLD")
    private BigDecimal lowerThreshold;

   @Schema( description ="预警级别（1：一级预警，2：二级预警，3：三级预警）")
    @TableField("WARNING_LEVEL")
    private String warningLevel;

   @Schema( description ="是否启用（1：启用，0：停用）")
    @TableField("IS_ENABLED")
    private String isEnabled;

   @Schema( description ="监控频率（分钟）")
    @TableField("MONITORING_FREQUENCY")
    private Integer monitoringFrequency;

   @Schema( description ="数据来源")
    @TableField("DATA_SOURCE")
    private String dataSource;

   @Schema( description ="备注")
    @TableField("REMARK")
    private String remark;

   @Schema( description ="创建人")
    @TableField("CREATE_BY")
    private String createBy;

   @Schema( description ="创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

   @Schema( description ="修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

   @Schema( description ="修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

   @Schema( description ="逻辑删除标志（0：未删除，1：已删除）")
    @TableField("DEL_FLAG")
    private String delFlag;
}
